import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css'
Vue.use(vant)
import './permission'
import { Swipe } from 'vant'
Vue.use(Swipe)
import { Tabbar, TabbarItem } from 'vant'
Vue.use(Tabbar).use(TabbarItem)
import { Sidebar } from 'vant'
Vue.use(Sidebar)
import { Search } from 'vant'
Vue.use(Search)
import { Radio } from 'vant'
Vue.use(Radio)
import { Checkbox } from 'vant'
Vue.use(Checkbox)
import { Tab, Tabs } from 'vant'
Vue.use(Tab).use(Tabs)
import { SubmitBar } from 'vant'
Vue.use(SubmitBar)
import { Stepper } from 'vant'
Vue.use(Stepper)
import { TreeSelect } from 'vant'
Vue.use(TreeSelect)
import {
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton
} from 'vant'
Vue
  .use(GoodsAction)
  .use(GoodsActionIcon)
  .use(GoodsActionButton)
import { Sku } from 'vant'
Vue.use(Sku)
import { Toast } from 'vant'
Vue.use(Toast)
import { Overlay } from 'vant'
Vue.use(Overlay)
import { DropdownMenu, DropdownItem } from 'vant'
Vue.use(DropdownMenu).use(DropdownItem)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
